package com.stu.query;

import lombok.Data;

@Data
public class DepartmentQuery {
    //当前页
    private  Integer currenrtPage;

    //默认显示几行
    private  Integer pageSize;
    //起始行
 public  Integer getStart(){
     return  (this.currenrtPage-1)*this.pageSize;
 }
   //关键字查询
    private String keyword;
}
